package org.dromara.system.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.tenant.core.TenantEntity;

import java.io.Serial;

/**
 * 单聊房间对象 sys_chat_room_friend
 *
 * @author Lion Li
 * @date 2025-02-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_chat_room_friend")
public class SysChatRoomFriend extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 用户状态ID
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 房间ID
     */
    private Long roomId;

    /**
     * 人员ID
     */
    private Long uid1;

    /**
     * 人员ID
     */
    private Long uid2;

    /**
     * 房间状态 0正常 1禁用(删好友了禁用)
     */
    private Long status;

    /**
     * 房间状态 0正常 1禁用(删好友了禁用)
     */
    private String roomKey;

    /**
     * 备注
     */
    private String remark;


}
